//导入vue
import Vue from 'vue'

// 导入路由包
import VueRouter from 'vue-router'
Vue.use(VueRouter)

//导入mint css
import './lib/mui/css/mui.min.css'

//导入包含购物车图标的css文件
import './lib/mui/css/icons-extra.css'

//按需导入mint组件
import { Header, Swipe, SwipeItem } from 'mint-ui'
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)

//导入vuerouter
import  router from './router.js'

//导入app组件
import app from './App.vue'

var vm = new Vue({
    el:'#app',
    render:c => c(app),
    router

})